﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HECore.Common.Entitys
{
    /// <summary>
    /// 员工删除
    /// </summary>
    public class EmployeeDeletionAudited : EmployeeModifiedAudited
    {
        /// <summary>
        /// 是否逻辑删除
        /// </summary>
        [Comment("是否逻辑删除")]
        public bool IsDelete { get; set; }

        /// <summary>
        /// 删除员工
        /// </summary>
        [Comment("删除员工")]
        public Guid? DeleterEmployeeId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        [Comment("删除时间")]
        [Column(TypeName = "datetime")]
        public DateTime? DeletionTime { get; set; }
    }
}
